import com.itms.mapper.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.Date;
import java.util.List;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "classpath*:/spring/spring-common.xml"
})
public class test {

    @Autowired
    private CustomerMapper customerMapper;
    @Autowired
    private PackageMapper packageMapper;
    @Autowired
    private SupplierMapper supplierMapper;
    @Autowired
    private CarrierMapper carrierMapper;
    @Autowired
    private PartMapper partMapper;
    @Test
    public void test1(){
        //List list =this.customerMapper.getCustomerList();
        System.err.println("");
        System.err.println("111");
    }

    @Test
    public void test2(){
        //List list =this.packageMapper.getPackageList();
        System.err.println("");
        System.err.println("111");
    }

    @Test
    public void test3(){
        //List list =this.supplierMapper.getSupplierList();
        System.err.println("");
        System.err.println("111");
    }

    @Test
    public void test4(){
        List list =this.carrierMapper.getCarrierList("2018-01-01 12:00:00");
        System.err.println("");
        System.err.println("111");
    }

    @Test
    public void test5(){
        List list =this.packageMapper.getPackageList("2018-06-07 12:00:00");
        System.err.println("");
        System.err.println("111");
    }

    @Test
    public void test6(){
        List list =this.partMapper.getPartList(null);
        System.err.println("");
        System.err.println("111");
    }
}
